package com.zhaimm.mall;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.zhaimm.mall.service.OrderService;

public class MainApplication {

	public static void main(String[] args) {
		
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("consumer.xml");

		OrderService service=context.getBean(OrderService.class);
		service.initOrder("33333");
	}

}
